package com.teamsapp.article.dto;

import com.teamsapp.article.model.ArticleStatus;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CreateArticleDTO {
    @NotBlank(message = "标题不能为空")
    private String title;

    @NotBlank(message = "内容不能为空")
    private String content;

    private String coverImage;

    private String summary;

    @NotNull(message = "状态不能为空")
    private Integer status;
}
